<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JS对象_Date</title>

  <script>

      // Date 日期对象
      // 创建
      var date = new Date();
      document.write(date + "<br>");
      document.write(date.toLocaleString() + "<br>");
      document.write(date.getTime() + "<br>");

  </script>

</head>
<body>

</body>
</html>